package Chapter08;
public class Person {
	 protected String id;
	 protected String name;
	  Person(String id,String name){
	   this.id=id;
	   this.name=name;
	  }

	 
	 public String getId() {
	  return id;
	 }
	 public void setId(String id) {
	  this.id = id;
	 }
	 public String getName() {
	  return name;
	 }
	 public void setName(String name) {
	  this.name = name;
	 }
	 
	 void print() {
	  System.out.println("id="+id+",name="+name);
	 }
	 

	}